home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1865 / 1865.xpi / chrome / adblockplus.jar / content / ui / seamonkeyOverlay.xul < prev    next >
Extensible Markup Language  |  2010-01-07  |  3KB  |  78 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.      - Version: MPL 1.1
  5.      -
  6.      - The contents of this file are subject to the Mozilla Public License Version
  7.      - 1.1 (the "License"); you may not use this file except in compliance with
  8.      - the License. You may obtain a copy of the License at
  9.      - http://www.mozilla.org/MPL/
  10.      -
  11.      - Software distributed under the License is distributed on an "AS IS" basis,
  12.      - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.      - for the specific language governing rights and limitations under the
  14.      - License.
  15.      -
  16.      - The Original Code is Adblock Plus.
  17.      -
  18.      - The Initial Developer of the Original Code is
  19.      - Wladimir Palant.
  20.      - Portions created by the Initial Developer are Copyright (C) 2006-2009
  21.      - the Initial Developer. All Rights Reserved.
  22.      -
  23.      - Contributor(s):
  24.      -
  25.      - ***** END LICENSE BLOCK ***** -->
  26.  
  27. <?xul-overlay href="chrome://adblockplus/content/ui/overlayGeneral.xul"?>
  28.  
  29. <overlay id="abp-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  30.     <!-- Window extensions -->
  31.     <window id="main-window">
  32.         <popupset id="abp-popupset"/>
  33.         <keyset id="abp-keyset"/>
  34.         <commandset id="abp-commandset"/>
  35.         <box id="abp-hooks"
  36.             getBrowser="return window.gBrowser;"
  37.             addTab="window.gBrowser.addTab(arguments[0], null, null, true);"
  38.             getContextMenu="return E('contentAreaContextMenu');"
  39.             getToolbox="return E('navigator-toolbox')"
  40.             getDefaultToolbar="return E('PersonalToolbar');"  toolbarInsertBefore="return E('bookmarks-button');"/>
  41.     </window>
  42.  
  43.     <!-- Status bar -->
  44.     <statusbar id="status-bar">
  45.         <statusbarpanel id="abp-status" mousethrough="never" insertbefore="resizerBottomRight"/>
  46.     </statusbar> 
  47.  
  48.     <!-- Toolbar -->
  49.     <toolbarpalette id="BrowserToolbarPalette">
  50.         <toolbarbutton id="abp-toolbarbutton" type="menu-button" pack="end"
  51.                 class="toolbarbutton-1 chromeclass-toolbar-additional"/>
  52.     </toolbarpalette>
  53.  
  54.     <!-- Tools menu -->
  55.     <menupopup id="taskPopup">
  56.         <menuitem id="abp-menuitem" insertafter="downloadmgr"/>
  57.     </menupopup>
  58.  
  59.     <!-- View menu -->
  60.     <menupopup id="view_toolbars_popup">
  61.         <menuitem id="abp-blockableitems" insertafter="sidebar-menu"/>
  62.     </menupopup>
  63.  
  64.     <!-- Context menu -->
  65.     <popup id="contentAreaContextMenu">
  66.         <menuitem id="abp-image-menuitem"/>
  67.         <menuitem id="abp-object-menuitem"/>
  68.         <menuitem id="abp-frame-menuitem"/>
  69.         <menuitem id="abp-removeWhitelist-menuitem"/>
  70.     </popup>
  71.  
  72.     <!-- Fake sidebar -->
  73.     <vbox id="appcontent">
  74.         <splitter id="abp-sidebar-splitter"/>
  75.         <vbox id="abp-sidebar"/>
  76.     </vbox>
  77. </overlay>
  78.